<template>
  <section>
    <public-header></public-header>
    <router-view v-slot="{ Component }">
      <keep-alive>
        <component :is="Component" />
      </keep-alive>
    </router-view>
    <public-footer></public-footer>
  </section>
</template>

<script>
import PublicHeader from "../public/public-header.vue";
import PublicFooter from "../public/public-footer.vue";

export default {
  components: {
    PublicHeader,
    PublicFooter,
  },
};
</script>

<style scoped>
</style>